Fix librsvg build on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sun, 8 Dec 2013 19:28:29 +0000 (21:28 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 8 Dec 2013 19:28:29 +0000 (21:28 +0200)
 configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg statically.

ChangeLog
configure.ac

index 2c0ea20f563ba4949d8cb8c8c64b9faef3925b4e..c5c339b8fde78d9a8c9444a8d41600f87424e62e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg
+       statically.
+
 2013-12-08  Paul Eggert  <eggert@cs.ucla.edu>
 
        * configure.ac: Simplify supression of GTK deprecation warning.
index 5240afac2917a626c93e81a60972250de97f9460..1f99a658cec8c7a41055aaeed087e530903fdacb 100644 (file)
@@ -2136,6 +2136,10 @@ if test "${HAVE_X11}" = "yes" || test "${HAVE_NS}" = "yes" || test "${opsys}" =
     if test $HAVE_RSVG = yes; then
       AC_DEFINE(HAVE_RSVG, 1, [Define to 1 if using librsvg.])
       CFLAGS="$CFLAGS $RSVG_CFLAGS"
+      # Windows loads librsvg dynamically
+      if test "${opsys}" = "mingw32"; then
+               RSVG_LIBS=
+      fi
       LIBS="$RSVG_LIBS $LIBS"
     fi
   fi